import request from "@/utils/request";
// 列表
export function list(data) {
  return request("refund/list", data, 'get');
}
// 订单详情
export function info(data) {
  return request("refund/info", data, 'get');
}
// 获取售后地址
export function refundAddr(data) {
  return request("refund/refundAddr", data, 'get');
}
// 获取物流公司
export function getSystemShip(data) {
  return request("refund/getSystemShip", data, 'get');
}
// 售后审核
export function refundAudit(data) {
  return request("refund/refundAudit", data, 'post');
}
// 收货[换货、退货退款]
export function refundAccept(data) {
  return request("refund/refundAccept", data, 'post');
}
// 售后发货[换货]
export function refundSend(data) {
  return request("refund/refundSend", data, 'post');
}
// 退款[退款、退货退款]
export function refundConfirm(data) {
  return request("refund/refundConfirm", data, 'post');
}
// 售后关闭
export function refundClose(data) {
  return request("refund/refundClose", data, 'post');
}
